package com.lagou.edu.aop;

import java.sql.SQLException;

public interface ITransactionManager {

    // 开启事务
    public void beginTransaction() throws SQLException;
    // 提交事务
    public void commit() throws SQLException;
    // 回滚事务
    public void rollback() throws SQLException;
}
